def sum1(m=1, n=100):
    return sum(range(m,n+1))
print(sum1(2,8))
print(sum1())

print()
#2
def avg(*p):
    return sum(p)/len(p)
print(avg(2,4,6,8))
print(avg(1,2,3))

print()
#3
def  outstu(**di):
    for  k, v  in  di.items():
        print(k, v)
    print()
outstu(id='2016342', name='袁')
outstu(classid='2', name='李', score=99.99)






